package com.fxd.kafka.enums;

public enum KafkaTopicEnum {

    DEMO_TOPIC("DEMO_TOPIC", "DEMO_GROUP"),
    ;

    private String topic;
    private String group;

    KafkaTopicEnum(String topic, String group) {
        this.topic = topic;
        this.group = group;
    }

    public String getTopic() {
        return topic;
    }

}
